# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class Pipeline(object):

    def __init__(self, name, content, uuid=None, createdAt=None, updatedAt=None):
        """
        :param uuid: (Optional) 流水线的uuid
        :param createdAt: (Optional) 流水线创建时间戳
        :param updatedAt: (Optional) 流水线最后一次更新时间戳
        :param name:  流水线的名称
        :param content:  流水线定义的json字符串。因为配置灵活且会支持用户直接上传json配置文件的方式配置，所以不对其在提交和显示的时候做解析或反解析。
        """

        self.uuid = uuid
        self.createdAt = createdAt
        self.updatedAt = updatedAt
        self.name = name
        self.content = content
